<template>
  <div class="box">
     <img :scr='dogImgUrl' alt="" >
      <p>{{dogName}}</p>
  </div>
</template>

<script>
export default {
  props:['dogImgUrl','dogName'],
 
}
</script>

<style scoped>
.box {
  width: 210px;
  height: 210px;
  border: 1px solid #333;
  float: left;
}
img {
  width: 210px;
  height: 180px;
}
p {
  font-size: 11px;
  color: black;
  text-align: center;
  margin: 0;
  padding: 0;
  height: 20px;
  line-height: 20px;
}
</style>
